TweetsExpansion

enum TweetsExpansion : Enum<TweetsExpansion>

Expansions enable requests to expand an ID into a full object in the includes response object.

Entries

Link copied to clipboard
ALL("${ATTACHMENTS_POLL_IDS.value}," + "${ATTACHMENTS_MEDIA_KEYS.value}," + "${AUTHOR_ID.value}," + "${GEO_PLACE_ID.value}," + "${IN_REPLY_TO_USER_ID.value}," + "${REFERENCED_TWEETS_ID.value}," + "${ENTITIES_MENTIONS_USERNAME.value}," + REFERENCED_TWEETS_ID_AUTHOR_ID.value)

All tweet expansions

Link copied to clipboard
REFERENCED_TWEETS_ID_AUTHOR_ID("referenced_tweets.id.author_id")
Link copied to clipboard
ENTITIES_MENTIONS_USERNAME("entities.mentions.username")
Link copied to clipboard
REFERENCED_TWEETS_ID("referenced_tweets.id")
Link copied to clipboard
IN_REPLY_TO_USER_ID("in_reply_to_user_id")
Link copied to clipboard
GEO_PLACE_ID("geo.place_id")
Link copied to clipboard
AUTHOR_ID("author_id")
Link copied to clipboard
ATTACHMENTS_MEDIA_KEYS("attachments.media_keys")
Link copied to clipboard
ATTACHMENTS_POLL_IDS("attachments.poll_ids")

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int
Link copied to clipboard
val value: String